package org.huangrui.redis.entities;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @auther zzyy
 * @create 2022-12-31 14:24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "Product", description = "聚划算活动producet信息")
public class Product
{
    @Schema(name = "id", description = "产品ID")
    private Long id;
    @Schema(name = "name", description = "产品名称")
    private String name;
    @Schema(name = "price", description = "产品价格")
    private Integer price;

    @Schema(name = "detail", description = "产品详情")
    private String detail;
}
